/**
 * There are <a href="https://github.com/thinkgem/jeesite">JeeSite</a> code generation
 */
package com.chlitina.store.modules.help.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.chlitina.store.common.persistence.BaseEntity;

/**
 * 系统帮助类型Entity
 * @author lvbo
 * @version 2014-03-31
 */
@Entity
@Table(name = "system_help_option_type")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class SystemHelpOptionType extends BaseEntity {
	
	private static final long serialVersionUID = 1L;
	private Long id; 		// 编号
	private String name; 	// 名称
	private String detail; // 描述

	public SystemHelpOptionType() {
	}

	public SystemHelpOptionType(Long id){
		this();
		this.id = id;
	}
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	//@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seq_help_systemHelpOptionType")
	//@SequenceGenerator(name = "seq_help_systemHelpOptionType", sequenceName = "seq_help_systemHelpOptionType")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	
}


